\section{TiXmlNode Class Reference}
\label{classTiXmlNode}\index{TiXmlNode@{TiXmlNode}}
{\tt \#include $<$tinyxml.h$>$}

Inheritance diagram for TiXmlNode::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.41379cm]{classTiXmlNode}
\end{center}
\end{figure}


\subsection{Detailed Description}
The parent class for everything in the Document Object Model. (Except for attributes). Nodes have siblings, a parent, and children. A node can be in a document, or stand on its own. The type of a \doxyref{TiXmlNode}{p.}{classTiXmlNode} can be queried, and it can be cast to its more defined type. \subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf NodeType} \{ \par
{\bf DOCUMENT}, 
{\bf ELEMENT}, 
{\bf COMMENT}, 
{\bf UNKNOWN}, 
\par
{\bf TEXT}, 
{\bf DECLARATION}, 
{\bf TYPECOUNT}
 \}
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
virtual {\bf $\sim$TiXmlNode} ()
\item 
const char $\ast$ {\bf Value} () const 
\item 
const TIXML\_\-STRING \& {\bf ValueTStr} () const 
\item 
void {\bf SetValue} (const char $\ast$\_\-value)
\item 
void {\bf Clear} ()
\begin{CompactList}\small\item\em Delete all the children of this node. Does not affect 'this'. \item\end{CompactList}\item 
{\bf TiXmlNode} $\ast$ {\bf Parent} ()
\begin{CompactList}\small\item\em One step up the DOM. \item\end{CompactList}\item 
const {\bf TiXmlNode} $\ast$ {\bf Parent} () const 
\item 
const {\bf TiXmlNode} $\ast$ {\bf FirstChild} () const 
\begin{CompactList}\small\item\em The first child of this node. Will be null if there are no children. \item\end{CompactList}\item 
{\bf TiXmlNode} $\ast$ {\bf FirstChild} ()
\item 
const {\bf TiXmlNode} $\ast$ {\bf FirstChild} (const char $\ast${\bf value}) const 
\item 
{\bf TiXmlNode} $\ast$ {\bf FirstChild} (const char $\ast$\_\-value)
\begin{CompactList}\small\item\em The first child of this node with the matching 'value'. Will be null if none found. \item\end{CompactList}\item 
const {\bf TiXmlNode} $\ast$ {\bf LastChild} () const 
\item 
{\bf TiXmlNode} $\ast$ {\bf LastChild} ()
\begin{CompactList}\small\item\em The last child of this node. Will be null if there are no children. \item\end{CompactList}\item 
const {\bf TiXmlNode} $\ast$ {\bf LastChild} (const char $\ast${\bf value}) const 
\item 
{\bf TiXmlNode} $\ast$ {\bf LastChild} (const char $\ast$\_\-value)
\begin{CompactList}\small\item\em The last child of this node matching 'value'. Will be null if there are no children. \item\end{CompactList}\item 
const {\bf TiXmlNode} $\ast$ {\bf IterateChildren} (const {\bf TiXmlNode} $\ast$previous) const 
\item 
{\bf TiXmlNode} $\ast$ {\bf IterateChildren} (const {\bf TiXmlNode} $\ast$previous)
\item 
const {\bf TiXmlNode} $\ast$ {\bf IterateChildren} (const char $\ast${\bf value}, const {\bf TiXmlNode} $\ast$previous) const 
\begin{CompactList}\small\item\em This flavor of IterateChildren searches for children with a particular 'value'. \item\end{CompactList}\item 
{\bf TiXmlNode} $\ast$ {\bf IterateChildren} (const char $\ast$\_\-value, const {\bf TiXmlNode} $\ast$previous)
\item 
{\bf TiXmlNode} $\ast$ {\bf InsertEndChild} (const {\bf TiXmlNode} \&addThis)
\item 
{\bf TiXmlNode} $\ast$ {\bf LinkEndChild} ({\bf TiXmlNode} $\ast$addThis)
\item 
{\bf TiXmlNode} $\ast$ {\bf InsertBeforeChild} ({\bf TiXmlNode} $\ast$beforeThis, const {\bf TiXmlNode} \&addThis)
\item 
{\bf TiXmlNode} $\ast$ {\bf InsertAfterChild} ({\bf TiXmlNode} $\ast$afterThis, const {\bf TiXmlNode} \&addThis)
\item 
{\bf TiXmlNode} $\ast$ {\bf ReplaceChild} ({\bf TiXmlNode} $\ast$replaceThis, const {\bf TiXmlNode} \&withThis)
\item 
bool {\bf RemoveChild} ({\bf TiXmlNode} $\ast$removeThis)
\begin{CompactList}\small\item\em Delete a child of this node. \item\end{CompactList}\item 
const {\bf TiXmlNode} $\ast$ {\bf PreviousSibling} () const 
\begin{CompactList}\small\item\em Navigate to a sibling node. \item\end{CompactList}\item 
{\bf TiXmlNode} $\ast$ {\bf PreviousSibling} ()
\item 
const {\bf TiXmlNode} $\ast$ {\bf PreviousSibling} (const char $\ast$) const 
\begin{CompactList}\small\item\em Navigate to a sibling node. \item\end{CompactList}\item 
{\bf TiXmlNode} $\ast$ {\bf PreviousSibling} (const char $\ast$\_\-prev)
\item 
const {\bf TiXmlNode} $\ast$ {\bf NextSibling} () const 
\begin{CompactList}\small\item\em Navigate to a sibling node. \item\end{CompactList}\item 
{\bf TiXmlNode} $\ast$ {\bf NextSibling} ()
\item 
const {\bf TiXmlNode} $\ast$ {\bf NextSibling} (const char $\ast$) const 
\begin{CompactList}\small\item\em Navigate to a sibling node with the given 'value'. \item\end{CompactList}\item 
{\bf TiXmlNode} $\ast$ {\bf NextSibling} (const char $\ast$\_\-next)
\item 
const {\bf TiXmlElement} $\ast$ {\bf NextSiblingElement} () const 
\item 
{\bf TiXmlElement} $\ast$ {\bf NextSiblingElement} ()
\item 
const {\bf TiXmlElement} $\ast$ {\bf NextSiblingElement} (const char $\ast$) const 
\item 
{\bf TiXmlElement} $\ast$ {\bf NextSiblingElement} (const char $\ast$\_\-next)
\item 
const {\bf TiXmlElement} $\ast$ {\bf FirstChildElement} () const 
\begin{CompactList}\small\item\em Convenience function to get through elements. \item\end{CompactList}\item 
{\bf TiXmlElement} $\ast$ {\bf FirstChildElement} ()
\item 
const {\bf TiXmlElement} $\ast$ {\bf FirstChildElement} (const char $\ast$\_\-value) const 
\begin{CompactList}\small\item\em Convenience function to get through elements. \item\end{CompactList}\item 
{\bf TiXmlElement} $\ast$ {\bf FirstChildElement} (const char $\ast$\_\-value)
\item 
int {\bf Type} () const 
\item 
const {\bf TiXmlDocument} $\ast$ {\bf GetDocument} () const 
\item 
{\bf TiXmlDocument} $\ast$ {\bf GetDocument} ()
\item 
bool {\bf NoChildren} () const 
\begin{CompactList}\small\item\em Returns true if this node has no children. \item\end{CompactList}\item 
virtual const {\bf TiXmlDocument} $\ast$ {\bf ToDocument} () const 
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual const {\bf TiXmlElement} $\ast$ {\bf ToElement} () const 
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual const {\bf TiXmlComment} $\ast$ {\bf ToComment} () const 
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual const {\bf TiXmlUnknown} $\ast$ {\bf ToUnknown} () const 
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual const {\bf TiXmlText} $\ast$ {\bf ToText} () const 
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual const {\bf TiXmlDeclaration} $\ast$ {\bf ToDeclaration} () const 
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual {\bf TiXmlDocument} $\ast$ {\bf ToDocument} ()
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual {\bf TiXmlElement} $\ast$ {\bf ToElement} ()
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual {\bf TiXmlComment} $\ast$ {\bf ToComment} ()
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual {\bf TiXmlUnknown} $\ast$ {\bf ToUnknown} ()
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual {\bf TiXmlText} $\ast$ {\bf ToText} ()
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual {\bf TiXmlDeclaration} $\ast$ {\bf ToDeclaration} ()
\begin{CompactList}\small\item\em Cast to a more defined type. Will return null if not of the requested type. \item\end{CompactList}\item 
virtual {\bf TiXmlNode} $\ast$ {\bf Clone} () const =0
\item 
virtual bool {\bf Accept} ({\bf TiXmlVisitor} $\ast$visitor) const =0
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
{\bf TiXmlNode} ({\bf NodeType} \_\-type)
\item 
void {\bf CopyTo} ({\bf TiXmlNode} $\ast$target) const 
\item 
{\bf TiXmlNode} $\ast$ {\bf Identify} (const char $\ast$start, {\bf TiXmlEncoding} encoding)
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf TiXmlNode} $\ast$ {\bf parent}
\item 
{\bf NodeType} {\bf type}
\item 
{\bf TiXmlNode} $\ast$ {\bf firstChild}
\item 
{\bf TiXmlNode} $\ast$ {\bf lastChild}
\item 
TIXML\_\-STRING {\bf value}
\item 
{\bf TiXmlNode} $\ast$ {\bf prev}
\item 
{\bf TiXmlNode} $\ast$ {\bf next}
\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf TiXmlDocument}
\item 
class {\bf TiXmlElement}
\end{CompactItemize}


\subsection{Member Enumeration Documentation}
\index{TiXmlNode@{TiXmlNode}!NodeType@{NodeType}}
\index{NodeType@{NodeType}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf TiXmlNode::NodeType}}\label{classTiXmlNode_836eded4920ab9e9ef28496f48cd95a2}


The types of XML nodes supported by TinyXml. (All the unsupported types are picked up by UNKNOWN.) \begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{DOCUMENT@{DOCUMENT}!TiXmlNode@{TiXmlNode}}\index{TiXmlNode@{TiXmlNode}!DOCUMENT@{DOCUMENT}}\item[{\em 
DOCUMENT\label{classTiXmlNode_836eded4920ab9e9ef28496f48cd95a231b8d14e0558445bb40e36a532b24127}
}]\index{ELEMENT@{ELEMENT}!TiXmlNode@{TiXmlNode}}\index{TiXmlNode@{TiXmlNode}!ELEMENT@{ELEMENT}}\item[{\em 
ELEMENT\label{classTiXmlNode_836eded4920ab9e9ef28496f48cd95a2af2344bcea122ef52d47c4dcc357f070}
}]\index{COMMENT@{COMMENT}!TiXmlNode@{TiXmlNode}}\index{TiXmlNode@{TiXmlNode}!COMMENT@{COMMENT}}\item[{\em 
COMMENT\label{classTiXmlNode_836eded4920ab9e9ef28496f48cd95a27737f35757c7152ca4f612d449ea0e4b}
}]\index{UNKNOWN@{UNKNOWN}!TiXmlNode@{TiXmlNode}}\index{TiXmlNode@{TiXmlNode}!UNKNOWN@{UNKNOWN}}\item[{\em 
UNKNOWN\label{classTiXmlNode_836eded4920ab9e9ef28496f48cd95a2f521ee2fb1e05705776b28fc55a70037}
}]\index{TEXT@{TEXT}!TiXmlNode@{TiXmlNode}}\index{TiXmlNode@{TiXmlNode}!TEXT@{TEXT}}\item[{\em 
TEXT\label{classTiXmlNode_836eded4920ab9e9ef28496f48cd95a2672617f36c5606a966ac378e6ddc0fd8}
}]\index{DECLARATION@{DECLARATION}!TiXmlNode@{TiXmlNode}}\index{TiXmlNode@{TiXmlNode}!DECLARATION@{DECLARATION}}\item[{\em 
DECLARATION\label{classTiXmlNode_836eded4920ab9e9ef28496f48cd95a2c02445686c2b72d11385002b3466c28b}
}]\index{TYPECOUNT@{TYPECOUNT}!TiXmlNode@{TiXmlNode}}\index{TiXmlNode@{TiXmlNode}!TYPECOUNT@{TYPECOUNT}}\item[{\em 
TYPECOUNT\label{classTiXmlNode_836eded4920ab9e9ef28496f48cd95a28334037fb3fe05c67d6110975b38a8bf}
}]\end{description}
\end{Desc}



\subsection{Constructor \& Destructor Documentation}
\index{TiXmlNode@{TiXmlNode}!$\sim$TiXmlNode@{$\sim$TiXmlNode}}
\index{$\sim$TiXmlNode@{$\sim$TiXmlNode}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TiXmlNode::$\sim$TiXmlNode ()\hspace{0.3cm}{\tt  [virtual]}}\label{classTiXmlNode_027a76cccd359c831ee4024b58c49625}


\index{TiXmlNode@{TiXmlNode}!TiXmlNode@{TiXmlNode}}
\index{TiXmlNode@{TiXmlNode}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TiXmlNode::TiXmlNode ({\bf NodeType} {\em \_\-type})\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_3f46721695868667113c7487ff123f20}




\subsection{Member Function Documentation}
\index{TiXmlNode@{TiXmlNode}!Value@{Value}}
\index{Value@{Value}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ TiXmlNode::Value () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_77943eb90d12c2892b1337a9f5918b41}


The meaning of 'value' changes for the specific type of \doxyref{TiXmlNode}{p.}{classTiXmlNode}. 

\footnotesize\begin{verbatim}
		Document:	filename of the xml file
		Element:	name of the element
		Comment:	the comment text
		Unknown:	the tag contents
		Text:		the text string
		\end{verbatim}
\normalsize


The subclasses will wrap this function. \index{TiXmlNode@{TiXmlNode}!ValueTStr@{ValueTStr}}
\index{ValueTStr@{ValueTStr}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const TIXML\_\-STRING\& TiXmlNode::ValueTStr () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_83ece13d2ea66dac66e0b21332229239}


\index{TiXmlNode@{TiXmlNode}!SetValue@{SetValue}}
\index{SetValue@{SetValue}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TiXmlNode::SetValue (const char $\ast$ {\em \_\-value})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_2a38329ca5d3f28f98ce932b8299ae90}


Changes the value of the node. Defined as: 

\footnotesize\begin{verbatim}
		Document:	filename of the xml file
		Element:	name of the element
		Comment:	the comment text
		Unknown:	the tag contents
		Text:		the text string
		\end{verbatim}
\normalsize
 \index{TiXmlNode@{TiXmlNode}!Clear@{Clear}}
\index{Clear@{Clear}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TiXmlNode::Clear ()}\label{classTiXmlNode_708e7f953df61d4d2d12f73171550a4b}


Delete all the children of this node. Does not affect 'this'. 

\index{TiXmlNode@{TiXmlNode}!Parent@{Parent}}
\index{Parent@{Parent}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::Parent ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_b643043132ffd794f8602685d34a982e}


One step up the DOM. 

\index{TiXmlNode@{TiXmlNode}!Parent@{Parent}}
\index{Parent@{Parent}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode}$\ast$ TiXmlNode::Parent () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_78878709e53066f06eb4fcbcdd3a5260}


\index{TiXmlNode@{TiXmlNode}!FirstChild@{FirstChild}}
\index{FirstChild@{FirstChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode}$\ast$ TiXmlNode::FirstChild () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_44c8eee26bbe2d1b2762038df9dde2f0}


The first child of this node. Will be null if there are no children. 

\index{TiXmlNode@{TiXmlNode}!FirstChild@{FirstChild}}
\index{FirstChild@{FirstChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::FirstChild ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_5e97d69b7c0ebd27fb7286be56559b77}


\index{TiXmlNode@{TiXmlNode}!FirstChild@{FirstChild}}
\index{FirstChild@{FirstChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode} $\ast$ TiXmlNode::FirstChild (const char $\ast$ {\em value}) const}\label{classTiXmlNode_b5f722624113c8203227de4f56576d31}


The first child of this node with the matching 'value'. Will be null if none found. \index{TiXmlNode@{TiXmlNode}!FirstChild@{FirstChild}}
\index{FirstChild@{FirstChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::FirstChild (const char $\ast$ {\em \_\-value})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_bc8bf32be6419ec453a731868de19554}


The first child of this node with the matching 'value'. Will be null if none found. 

\index{TiXmlNode@{TiXmlNode}!LastChild@{LastChild}}
\index{LastChild@{LastChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode}$\ast$ TiXmlNode::LastChild () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_6d671107e00cca1d28cb2d7f3a87a21e}


\index{TiXmlNode@{TiXmlNode}!LastChild@{LastChild}}
\index{LastChild@{LastChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::LastChild ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_6432d2b2495f6caf9cb4278df706a031}


The last child of this node. Will be null if there are no children. 

\index{TiXmlNode@{TiXmlNode}!LastChild@{LastChild}}
\index{LastChild@{LastChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode} $\ast$ TiXmlNode::LastChild (const char $\ast$ {\em value}) const}\label{classTiXmlNode_cdd3fdc436aa7433023310a041e5e63f}


\index{TiXmlNode@{TiXmlNode}!LastChild@{LastChild}}
\index{LastChild@{LastChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::LastChild (const char $\ast$ {\em \_\-value})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_bad5bf1059c48127b958711ef89e8e5d}


The last child of this node matching 'value'. Will be null if there are no children. 

\index{TiXmlNode@{TiXmlNode}!IterateChildren@{IterateChildren}}
\index{IterateChildren@{IterateChildren}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode} $\ast$ TiXmlNode::IterateChildren (const {\bf TiXmlNode} $\ast$ {\em previous}) const}\label{classTiXmlNode_aef7ac3978c4bb1cc8a24ffae7bced75}


An alternate way to walk the children of a node. One way to iterate over nodes is: 

\footnotesize\begin{verbatim}
			for( child = parent->FirstChild(); child; child = child->NextSibling() )
		\end{verbatim}
\normalsize


IterateChildren does the same thing with the syntax: 

\footnotesize\begin{verbatim}
			child = 0;
			while( child = parent->IterateChildren( child ) )
		\end{verbatim}
\normalsize


IterateChildren takes the previous child as input and finds the next one. If the previous child is null, it returns the first. IterateChildren will return null when done. \index{TiXmlNode@{TiXmlNode}!IterateChildren@{IterateChildren}}
\index{IterateChildren@{IterateChildren}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::IterateChildren (const {\bf TiXmlNode} $\ast$ {\em previous})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_2358e747118fdbf0e467b1e4f7d03de1}


\index{TiXmlNode@{TiXmlNode}!IterateChildren@{IterateChildren}}
\index{IterateChildren@{IterateChildren}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode} $\ast$ TiXmlNode::IterateChildren (const char $\ast$ {\em value}, const {\bf TiXmlNode} $\ast$ {\em previous}) const}\label{classTiXmlNode_f2b86dbe25d3d26fa48180edc5e2a9fc}


This flavor of IterateChildren searches for children with a particular 'value'. 

\index{TiXmlNode@{TiXmlNode}!IterateChildren@{IterateChildren}}
\index{IterateChildren@{IterateChildren}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::IterateChildren (const char $\ast$ {\em \_\-value}, const {\bf TiXmlNode} $\ast$ {\em previous})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_67ba8275e533e6f76340236c42ea0aea}


\index{TiXmlNode@{TiXmlNode}!InsertEndChild@{InsertEndChild}}
\index{InsertEndChild@{InsertEndChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode} $\ast$ TiXmlNode::InsertEndChild (const {\bf TiXmlNode} \& {\em addThis})}\label{classTiXmlNode_f287a913ce46d8dbf7ef24fec69bbaf0}


Add a new node related to this. Adds a child past the LastChild. Returns a pointer to the new object or NULL if an error occured. \index{TiXmlNode@{TiXmlNode}!LinkEndChild@{LinkEndChild}}
\index{LinkEndChild@{LinkEndChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode} $\ast$ TiXmlNode::LinkEndChild ({\bf TiXmlNode} $\ast$ {\em addThis})}\label{classTiXmlNode_1a881212554b759865f6cac79a851d38}


Add a new node related to this. Adds a child past the LastChild.

NOTE: the node to be added is passed by pointer, and will be henceforth owned (and deleted) by tinyXml. This method is efficient and avoids an extra copy, but should be used with care as it uses a different memory \doxyref{model}{p.}{structmodel} than the other insert functions.

\begin{Desc}
\item[See also:]\doxyref{InsertEndChild}{p.}{classTiXmlNode_f287a913ce46d8dbf7ef24fec69bbaf0} \end{Desc}
\index{TiXmlNode@{TiXmlNode}!InsertBeforeChild@{InsertBeforeChild}}
\index{InsertBeforeChild@{InsertBeforeChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode} $\ast$ TiXmlNode::InsertBeforeChild ({\bf TiXmlNode} $\ast$ {\em beforeThis}, const {\bf TiXmlNode} \& {\em addThis})}\label{classTiXmlNode_71e54e393336382bc9875f64aab5cb15}


Add a new node related to this. Adds a child before the specified child. Returns a pointer to the new object or NULL if an error occured. \index{TiXmlNode@{TiXmlNode}!InsertAfterChild@{InsertAfterChild}}
\index{InsertAfterChild@{InsertAfterChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode} $\ast$ TiXmlNode::InsertAfterChild ({\bf TiXmlNode} $\ast$ {\em afterThis}, const {\bf TiXmlNode} \& {\em addThis})}\label{classTiXmlNode_274db3292218202805c093f66a964cb5}


Add a new node related to this. Adds a child after the specified child. Returns a pointer to the new object or NULL if an error occured. \index{TiXmlNode@{TiXmlNode}!ReplaceChild@{ReplaceChild}}
\index{ReplaceChild@{ReplaceChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode} $\ast$ TiXmlNode::ReplaceChild ({\bf TiXmlNode} $\ast$ {\em replaceThis}, const {\bf TiXmlNode} \& {\em withThis})}\label{classTiXmlNode_543208c2c801c84a213529541e904b9f}


Replace a child of this node. Returns a pointer to the new object or NULL if an error occured. \index{TiXmlNode@{TiXmlNode}!RemoveChild@{RemoveChild}}
\index{RemoveChild@{RemoveChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool TiXmlNode::RemoveChild ({\bf TiXmlNode} $\ast$ {\em removeThis})}\label{classTiXmlNode_e19d8510efc90596552f4feeac9a8fbf}


Delete a child of this node. 

\index{TiXmlNode@{TiXmlNode}!PreviousSibling@{PreviousSibling}}
\index{PreviousSibling@{PreviousSibling}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode}$\ast$ TiXmlNode::PreviousSibling () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_c2cd892768726270e511b2ab32de4d10}


Navigate to a sibling node. 

\index{TiXmlNode@{TiXmlNode}!PreviousSibling@{PreviousSibling}}
\index{PreviousSibling@{PreviousSibling}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::PreviousSibling ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_f8c0642ad6ecc03f62953e68896ed1cc}


\index{TiXmlNode@{TiXmlNode}!PreviousSibling@{PreviousSibling}}
\index{PreviousSibling@{PreviousSibling}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode} $\ast$ TiXmlNode::PreviousSibling (const char $\ast$ {\em \_\-value}) const}\label{classTiXmlNode_bbb3b8c1f38fa7b9e52d584a4aeca795}


Navigate to a sibling node. 

\index{TiXmlNode@{TiXmlNode}!PreviousSibling@{PreviousSibling}}
\index{PreviousSibling@{PreviousSibling}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::PreviousSibling (const char $\ast$ {\em \_\-prev})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_6c977049207177ef21b51972315c2053}


\index{TiXmlNode@{TiXmlNode}!NextSibling@{NextSibling}}
\index{NextSibling@{NextSibling}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode}$\ast$ TiXmlNode::NextSibling () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_f854baeba384f5fe9859f5aee03b548e}


Navigate to a sibling node. 

\index{TiXmlNode@{TiXmlNode}!NextSibling@{NextSibling}}
\index{NextSibling@{NextSibling}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::NextSibling ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_4d05f7b1d7b470ac6887edd072d4892a}


\index{TiXmlNode@{TiXmlNode}!NextSibling@{NextSibling}}
\index{NextSibling@{NextSibling}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlNode} $\ast$ TiXmlNode::NextSibling (const char $\ast$ {\em \_\-value}) const}\label{classTiXmlNode_caf9dc17531ac041f602f9ad579573ea}


Navigate to a sibling node with the given 'value'. 

\index{TiXmlNode@{TiXmlNode}!NextSibling@{NextSibling}}
\index{NextSibling@{NextSibling}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ TiXmlNode::NextSibling (const char $\ast$ {\em \_\-next})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_4080bc5cc8a5c139e7cf308669e850fc}


\index{TiXmlNode@{TiXmlNode}!NextSiblingElement@{NextSiblingElement}}
\index{NextSiblingElement@{NextSiblingElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlElement} $\ast$ TiXmlNode::NextSiblingElement () const}\label{classTiXmlNode_7667217e269e0da01d1f82aee94d1a3d}


Convenience function to get through elements. Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element. \index{TiXmlNode@{TiXmlNode}!NextSiblingElement@{NextSiblingElement}}
\index{NextSiblingElement@{NextSiblingElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlElement}$\ast$ TiXmlNode::NextSiblingElement ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_1b211cb5034655a04358e0e2f6fc5010}


\index{TiXmlNode@{TiXmlNode}!NextSiblingElement@{NextSiblingElement}}
\index{NextSiblingElement@{NextSiblingElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlElement} $\ast$ TiXmlNode::NextSiblingElement (const char $\ast$ {\em \_\-value}) const}\label{classTiXmlNode_3d7897999f99cf4870dd59df6331d7ff}


Convenience function to get through elements. Calls NextSibling and ToElement. Will skip all non-Element nodes. Returns 0 if there is not another element. \index{TiXmlNode@{TiXmlNode}!NextSiblingElement@{NextSiblingElement}}
\index{NextSiblingElement@{NextSiblingElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlElement}$\ast$ TiXmlNode::NextSiblingElement (const char $\ast$ {\em \_\-next})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_6e1ac6b800e18049bc75e9f8e63a8e5f}


\index{TiXmlNode@{TiXmlNode}!FirstChildElement@{FirstChildElement}}
\index{FirstChildElement@{FirstChildElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlElement} $\ast$ TiXmlNode::FirstChildElement () const}\label{classTiXmlNode_b1f8d8e70d88aea4c5efedfe00862d55}


Convenience function to get through elements. 

\index{TiXmlNode@{TiXmlNode}!FirstChildElement@{FirstChildElement}}
\index{FirstChildElement@{FirstChildElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlElement}$\ast$ TiXmlNode::FirstChildElement ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_a0fecff1f3866ab33a8a25506e95db1d}


\index{TiXmlNode@{TiXmlNode}!FirstChildElement@{FirstChildElement}}
\index{FirstChildElement@{FirstChildElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlElement} $\ast$ TiXmlNode::FirstChildElement (const char $\ast$ {\em \_\-value}) const}\label{classTiXmlNode_0ec361bfef1cf1978d060295f597e0d9}


Convenience function to get through elements. 

\index{TiXmlNode@{TiXmlNode}!FirstChildElement@{FirstChildElement}}
\index{FirstChildElement@{FirstChildElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlElement}$\ast$ TiXmlNode::FirstChildElement (const char $\ast$ {\em \_\-value})\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_6936ae323675071808ac4840379e57f5}


\index{TiXmlNode@{TiXmlNode}!Type@{Type}}
\index{Type@{Type}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int TiXmlNode::Type () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_57b99d5c97d67a42b9752f5210a1ba5e}


Query the type (as an enumerated value, above) of this node. The possible types are: DOCUMENT, ELEMENT, COMMENT, UNKNOWN, TEXT, and DECLARATION. \index{TiXmlNode@{TiXmlNode}!GetDocument@{GetDocument}}
\index{GetDocument@{GetDocument}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const {\bf TiXmlDocument} $\ast$ TiXmlNode::GetDocument () const}\label{classTiXmlNode_a66f4ebcd175204a168ed7c2d7b43071}


Return a pointer to the Document this node lives in. Returns null if not in a document. \index{TiXmlNode@{TiXmlNode}!GetDocument@{GetDocument}}
\index{GetDocument@{GetDocument}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlDocument}$\ast$ TiXmlNode::GetDocument ()\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_7b2372c0e7adfb32f5b6902fe49a39b2}


\index{TiXmlNode@{TiXmlNode}!NoChildren@{NoChildren}}
\index{NoChildren@{NoChildren}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool TiXmlNode::NoChildren () const\hspace{0.3cm}{\tt  [inline]}}\label{classTiXmlNode_eed21ad30630ef6e7faf096127edc9f3}


Returns true if this node has no children. 

\index{TiXmlNode@{TiXmlNode}!ToDocument@{ToDocument}}
\index{ToDocument@{ToDocument}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf TiXmlDocument}$\ast$ TiXmlNode::ToDocument () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_8a4cda4b15c29f64cff419309aebed08}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlDocument} \doxyref{}{p.}{classTiXmlDocument_1dc977bde3e4fe85a8eb9d88a35ef5a4}.\index{TiXmlNode@{TiXmlNode}!ToElement@{ToElement}}
\index{ToElement@{ToElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf TiXmlElement}$\ast$ TiXmlNode::ToElement () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_72abed96dc9667ab9e0a2a275301bb1c}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlElement} \doxyref{}{p.}{classTiXmlElement_c5b8d0e25fa23fd9acbb6d146082901c}.\index{TiXmlNode@{TiXmlNode}!ToComment@{ToComment}}
\index{ToComment@{ToComment}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf TiXmlComment}$\ast$ TiXmlNode::ToComment () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_a0a5086f9eaee910bbfdc7f975e26574}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlComment} \doxyref{}{p.}{classTiXmlComment_00fb4215c20a2399ea05ac9b9e7e68a0}.\index{TiXmlNode@{TiXmlNode}!ToUnknown@{ToUnknown}}
\index{ToUnknown@{ToUnknown}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf TiXmlUnknown}$\ast$ TiXmlNode::ToUnknown () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_fd7205cf31d7a376929f8a36930627a2}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlUnknown} \doxyref{}{p.}{classTiXmlUnknown_b0313e5fe77987d746ac1a97a254419d}.\index{TiXmlNode@{TiXmlNode}!ToText@{ToText}}
\index{ToText@{ToText}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf TiXmlText}$\ast$ TiXmlNode::ToText () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_95a46a52c525992d6b4ee08beb14cd69}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlText} \doxyref{}{p.}{classTiXmlText_895bf34ffad17f7439ab2a52b9651648}.\index{TiXmlNode@{TiXmlNode}!ToDeclaration@{ToDeclaration}}
\index{ToDeclaration@{ToDeclaration}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual const {\bf TiXmlDeclaration}$\ast$ TiXmlNode::ToDeclaration () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_9f43e6984fc7d4afd6eb32714c6b7b72}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlDeclaration} \doxyref{}{p.}{classTiXmlDeclaration_1e085d3fefd1dbf5ccdbff729931a967}.\index{TiXmlNode@{TiXmlNode}!ToDocument@{ToDocument}}
\index{ToDocument@{ToDocument}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf TiXmlDocument}$\ast$ TiXmlNode::ToDocument ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_6a4c8ac28ee7a745d059db6691e03bae}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlDocument} \doxyref{}{p.}{classTiXmlDocument_1025d942a1f328fd742d545e37efdd42}.\index{TiXmlNode@{TiXmlNode}!ToElement@{ToElement}}
\index{ToElement@{ToElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf TiXmlElement}$\ast$ TiXmlNode::ToElement ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_a65d000223187d22a4dcebd7479e9ebc}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlElement} \doxyref{}{p.}{classTiXmlElement_9def86337ea7a755eb41cac980f60c7a}.\index{TiXmlNode@{TiXmlNode}!ToComment@{ToComment}}
\index{ToComment@{ToComment}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf TiXmlComment}$\ast$ TiXmlNode::ToComment ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_383e06a0787f7063953934867990f849}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlComment} \doxyref{}{p.}{classTiXmlComment_cc7c7e07e13c23f17797d642981511df}.\index{TiXmlNode@{TiXmlNode}!ToUnknown@{ToUnknown}}
\index{ToUnknown@{ToUnknown}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf TiXmlUnknown}$\ast$ TiXmlNode::ToUnknown ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_06de5af852668c7e4af0d09c205f0b0d}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlUnknown} \doxyref{}{p.}{classTiXmlUnknown_67c9fd22940e8c47f706a72cdd2e332c}.\index{TiXmlNode@{TiXmlNode}!ToText@{ToText}}
\index{ToText@{ToText}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf TiXmlText}$\ast$ TiXmlNode::ToText ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_3ddfbcac78fbea041fad57e5c6d60a03}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlText} \doxyref{}{p.}{classTiXmlText_e7c3a8fd3e4dbf6c0c4363a943d72f5b}.\index{TiXmlNode@{TiXmlNode}!ToDeclaration@{ToDeclaration}}
\index{ToDeclaration@{ToDeclaration}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf TiXmlDeclaration}$\ast$ TiXmlNode::ToDeclaration ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classTiXmlNode_4027136ca820ff4a636b607231b6a6df}


Cast to a more defined type. Will return null if not of the requested type. 



Reimplemented in {\bf TiXmlDeclaration} \doxyref{}{p.}{classTiXmlDeclaration_6bd3d1daddcaeb9543c24bfd090969ce}.\index{TiXmlNode@{TiXmlNode}!Clone@{Clone}}
\index{Clone@{Clone}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf TiXmlNode}$\ast$ TiXmlNode::Clone () const\hspace{0.3cm}{\tt  [pure virtual]}}\label{classTiXmlNode_4508cc3a2d7a98e96a54cc09c37a78a4}


Create an exact duplicate of this node and return it. The memory must be deleted by the caller. 

Implemented in {\bf TiXmlElement} \doxyref{}{p.}{classTiXmlElement_13f6df105ebb1e8dc636e75cc883be32}, {\bf TiXmlComment} \doxyref{}{p.}{classTiXmlComment_4f6590c9c9a2b63a48972655b78eb853}, {\bf TiXmlText} \doxyref{}{p.}{classTiXmlText_dde1869dfb029be50713fbfd8ce4d21f}, {\bf TiXmlDeclaration} \doxyref{}{p.}{classTiXmlDeclaration_ff8231266d735943d8a7514a9c9822b9}, {\bf TiXmlUnknown} \doxyref{}{p.}{classTiXmlUnknown_675c4b2684af35e4c7649b7fd5ae598d}, and {\bf TiXmlDocument} \doxyref{}{p.}{classTiXmlDocument_c9e8f09b23454d953b32d1b65cd1409e}.\index{TiXmlNode@{TiXmlNode}!Accept@{Accept}}
\index{Accept@{Accept}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool TiXmlNode::Accept ({\bf TiXmlVisitor} $\ast$ {\em visitor}) const\hspace{0.3cm}{\tt  [pure virtual]}}\label{classTiXmlNode_cc0f88b7462c6cb73809d410a4f5bb86}


Accept a hierchical visit the nodes in the TinyXML DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the \doxyref{TiXmlVisitor}{p.}{classTiXmlVisitor} interface.

This is essentially a SAX interface for TinyXML. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML is unchanged by using this interface versus any other.)

The interface has been based on ideas from:

\begin{itemize}
\item {\tt http://www.saxproject.org/}\item {\tt http://c2.com/cgi/wiki?HierarchicalVisitorPattern}\end{itemize}


Which are both good references for \char`\"{}visiting\char`\"{}.

An example of using \doxyref{Accept()}{p.}{classTiXmlNode_cc0f88b7462c6cb73809d410a4f5bb86}: 

\footnotesize\begin{verbatim}
		TiXmlPrinter printer;
		tinyxmlDoc.Accept( &printer );
		const char* xmlcstr = printer.CStr();
		\end{verbatim}
\normalsize
 

Implemented in {\bf TiXmlElement} \doxyref{}{p.}{classTiXmlElement_31ab28cc3b892a69254391d6bbe08df3}, {\bf TiXmlComment} \doxyref{}{p.}{classTiXmlComment_4382de0e50da973f11a23ea5852568bd}, {\bf TiXmlText} \doxyref{}{p.}{classTiXmlText_43b9954ebf679557fac1a4453f337b7c}, {\bf TiXmlDeclaration} \doxyref{}{p.}{classTiXmlDeclaration_b6a6b178161ba9abc2c35058de689864}, {\bf TiXmlUnknown} \doxyref{}{p.}{classTiXmlUnknown_4e54d7482e05a837cf83c925cc683380}, and {\bf TiXmlDocument} \doxyref{}{p.}{classTiXmlDocument_3daab2f472418ef66315750202f762ae}.\index{TiXmlNode@{TiXmlNode}!CopyTo@{CopyTo}}
\index{CopyTo@{CopyTo}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TiXmlNode::CopyTo ({\bf TiXmlNode} $\ast$ {\em target}) const\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_b6056978923ad8350fb5164af32d8038}


\index{TiXmlNode@{TiXmlNode}!Identify@{Identify}}
\index{Identify@{Identify}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode} $\ast$ TiXmlNode::Identify (const char $\ast$ {\em start}, {\bf TiXmlEncoding} {\em encoding})\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_c1e3a8e7578be463b04617786120c2bb}




\subsection{Friends And Related Function Documentation}
\index{TiXmlNode@{TiXmlNode}!TiXmlDocument@{TiXmlDocument}}
\index{TiXmlDocument@{TiXmlDocument}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf TiXmlDocument}\hspace{0.3cm}{\tt  [friend]}}\label{classTiXmlNode_173617f6dfe902cf484ce5552b950475}




Reimplemented from {\bf TiXmlBase} \doxyref{}{p.}{classTiXmlBase_173617f6dfe902cf484ce5552b950475}.\index{TiXmlNode@{TiXmlNode}!TiXmlElement@{TiXmlElement}}
\index{TiXmlElement@{TiXmlElement}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}friend class {\bf TiXmlElement}\hspace{0.3cm}{\tt  [friend]}}\label{classTiXmlNode_b6592e32cb9132be517cc12a70564c4b}




Reimplemented from {\bf TiXmlBase} \doxyref{}{p.}{classTiXmlBase_b6592e32cb9132be517cc12a70564c4b}.

Reimplemented in {\bf TiXmlText} \doxyref{}{p.}{classTiXmlText_b6592e32cb9132be517cc12a70564c4b}.

\subsection{Member Data Documentation}
\index{TiXmlNode@{TiXmlNode}!parent@{parent}}
\index{parent@{parent}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ {\bf TiXmlNode::parent}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_662c4de61244e4fa5bd4e2d8c63143a5}


\index{TiXmlNode@{TiXmlNode}!type@{type}}
\index{type@{type}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf NodeType} {\bf TiXmlNode::type}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_2619c6379181c16ba95ae6922e2ca839}


\index{TiXmlNode@{TiXmlNode}!firstChild@{firstChild}}
\index{firstChild@{firstChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ {\bf TiXmlNode::firstChild}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_f749fb7f22010b80e8f904c32653d50e}


\index{TiXmlNode@{TiXmlNode}!lastChild@{lastChild}}
\index{lastChild@{lastChild}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ {\bf TiXmlNode::lastChild}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_5b30756d21b304580d22a841ec9d61f8}


\index{TiXmlNode@{TiXmlNode}!value@{value}}
\index{value@{value}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}TIXML\_\-STRING {\bf TiXmlNode::value}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_ead528b3cedc33c16a6c539872c7cc8b}


\index{TiXmlNode@{TiXmlNode}!prev@{prev}}
\index{prev@{prev}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ {\bf TiXmlNode::prev}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_9c5370ea2cbfd9f0e0f7b30a57fd68f5}


\index{TiXmlNode@{TiXmlNode}!next@{next}}
\index{next@{next}!TiXmlNode@{TiXmlNode}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf TiXmlNode}$\ast$ {\bf TiXmlNode::next}\hspace{0.3cm}{\tt  [protected]}}\label{classTiXmlNode_2f329cc993d2d34df76e17dcbb776b45}




The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
/home/msneddon/eclipse/galileoSR1\_\-cpp/workspace/NFsim/src/NFinput/TinyXML/{\bf tinyxml.h}\item 
/home/msneddon/eclipse/galileoSR1\_\-cpp/workspace/NFsim/src/NFinput/TinyXML/{\bf tinyxml.cpp}\item 
/home/msneddon/eclipse/galileoSR1\_\-cpp/workspace/NFsim/src/NFinput/TinyXML/{\bf tinyxmlparser.cpp}\end{CompactItemize}
